package com.crm.business.agreement.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.crm.business.agreement.mapper.BillAgreementContractSignerMapper;
import com.crm.business.agreement.mapper.BillAgreementTemplateSignerMapper;
import com.crm.business.agreement.service.IBillAgreementContractSignerService;
import com.crm.business.agreement.service.IBillAgreementTemplateSignerService;
import com.crm.business.servlet.BaseServiceImpl;
import com.crm.common.agreement.entity.PO.BillAgreementContractSigner;
import com.crm.common.agreement.entity.PO.BillAgreementTemplateSigner;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class BillAgreementContractSignerServiceImpl extends BaseServiceImpl<BillAgreementContractSignerMapper, BillAgreementContractSigner> implements IBillAgreementContractSignerService {

    @Override
    public int addList(List<BillAgreementContractSigner> list){

        for(BillAgreementContractSigner params : list){
            getBaseMapper().insert(params);
        }
        return list.size();
    }

}
